package com.example.administrator.gamecat2.fragment;

import android.os.Bundle;
import android.support.annotation.Nullable;
import android.support.v4.app.Fragment;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.TextView;

import com.example.administrator.gamecat2.R;

/**
 * Created by Administrator on 2016/8/20.
 */
public class MessageFragment extends Fragment{

    @Nullable
    @Override
    public View onCreateView(LayoutInflater inflater, @Nullable ViewGroup container, @Nullable Bundle savedInstanceState) {
        View view = inflater.inflate(R.layout.message_fragment_layout, container, false);

        initView(view);
        return view;
    }

    private void initView(View view) {
        TextView viewById = (TextView) view.findViewById(R.id.msg_tvmsg);
        viewById.setText("kkkkkkkkkkkkk");
    }


}
